home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / filutil / remove.zip / REMOVE.DOC next >
Text File  |  1995-01-08  |  5KB  |  136 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                            ***********************
  8.                            * REMOVE  Version 2.2 *
  9.                            ***********************
  10.  
  11.                              > Coded by Iceman <
  12.  
  13.  
  14.  
  15.  
  16.  1. What is REMOVE ?
  17.  -------------------
  18.  
  19.  Do you know this :  You just got a formatted textfile from the UseNet,
  20. an e-mail message, or even a program documentation file like this. Now you
  21. maybe want to place it into your word processor - and the result is a mess.
  22. The reason why is simple :  In almost all of this files a carriage return
  23. ($0d) and a linefeed ($0a) (or sometimes a linefeed alone) indicate the end
  24. of each line. The implication of this is that no text program will be able
  25. to auto-wrap it into it's own linewidth. Now you maybe can start to remove
  26. these linebreaks by hand, but if your file contains about 500 lines and 
  27. more, this is going to be a lot of a work.
  28.  This is were you can use REMOVE. It was designed for replacing the line-
  29. breaks of such formatted textfiles with blanks. Up to this, it can keep the
  30. general layout of most texts intact. It is fairly easy to use and works fully
  31. automatically. 
  32.  Especially if you are often using the Internet services (UseNet etc.), this
  33. program can save you a lot of work.
  34.  
  35.  
  36.  2. How do I use REMOVE ?
  37.  ------------------------
  38.  
  39.  The syntax of REMOVE is simple:
  40.  
  41.   REMOVE [ source file] [ destination file ] <-breaks> <-spaces>
  42.  
  43.  All you have to do is to enter a command in the form you can find above at
  44. the DOS-prompt. 
  45.  If you use the '-breaks' switch you can advise REMOVE to exclude some of the
  46. linebreaks from beeing deleted or replaced. This may be useful if the general
  47. layout of a textfile should be maintained. That means that the following line-
  48. breaks will NOT be replaced:
  49.  
  50.  (1) linebreaks that are followed by either a blank or a tabstop, that may mark
  51.      the beginning of a new textblock;
  52.      [Note: By default, this tabstops will be converted to blanks. To disable
  53.             this, you have to use the '-tabs' switch !]
  54.  (2) linebreaks followed by another linebreak (this means, that all empty lines
  55.      of the source file will appear in the converted file, too).
  56.  
  57.  This will handle most of the common formatted textfiles.
  58.  
  59.  
  60.  NEW: Since version 2.2, you can replace every sequence containing multiple
  61. blanks with only one blank by using the '-spaces' switch. You should consider
  62. if this option is useful for your needs or not - this depends on your file.
  63. For example, it is good for handling most UseNet- and UNIX-files, but not for
  64. texts like this one (the "ICE" sign at the bottom would be spoiled etc.).
  65.  NEW: If you don't want to convert all tabstops to blanks (default), you
  66. should add the '-tabs' switch to the command line.
  67.  
  68.  If you have done all this, REMOVE will start to work. This may take some time,
  69. especially if you want to convert very large files of 1 MB and more.
  70.  
  71.  
  72.                                 !! Note : !!
  73.  
  74. It is nearly impossible to detect every detail of complex layouts. That means,
  75. that there will be always some few files, that may not look exactly as you
  76. want. Please don't blame me if this happens - watching the whole document on a
  77. screen and analyzing it byte-by-byte are two different things !
  78.  
  79.  
  80.  3. Some quick examples
  81.  ----------------------
  82.  
  83.   (1) remove remove.doc remove.new -breaks
  84.  
  85.        Correct, the textblocks will stay separated.
  86.  
  87.   (2) remove remove.doc remove.new
  88.  
  89.        Correct, but ALL linebreaks will be removed.
  90.  
  91.   (3) remove c:\tools\remove.doc c:\tools\remove.new -breaks -spaces
  92.  
  93.        Correct, as (1), but in the converted file multiple blanks will appear
  94.        as only one blank.
  95.  
  96.   (4) remove remove.doc -breaks
  97.  
  98.       Wrong, you MUST specify a destination file.
  99.  
  100.   (5) remove remove.doc remove.doc
  101.  
  102.       Wrong, the files MUST have different names.
  103.  
  104.  
  105.  
  106.  4. Some credits and greetings
  107.  -----------------------------
  108.  
  109.  Well, strictly speaking this isn't the kind of a program where you can
  110. expect a huge list of credits, but because there are some guys that want to
  111. be mentioned here, I'm going to do them a favor, so here we go :
  112.  Hellos go to Major Tom, Dirk, Mario and Basti (What the hell would I do 
  113. without you lazy suckers ?), Thomas P. from R. (Harz) and everybody who likes
  114. this little program. I would also like to thank everybody who contacted me
  115. when I first posted the previous version.
  116.  
  117.  
  118.  5. Distribution
  119.  ---------------
  120.  
  121.  You may distribute this program freely, I even WANT you to give it away
  122. to your friends or whoever you want, AS LONG AS YOU ENCLOSE THIS FILE !!
  123.  By the way, if you have any comments or suggestions or some ideas, I
  124. would appreciate if you would send me some mail ...
  125.  
  126.  
  127.  And that's the end of this silly file ....
  128.  
  129.  
  130.       _/    _/_/_/  _/_/_/_/
  131.      _/  _/        _/
  132.     _/  _/        _/_/_/      e-mail: wi60882@rz.tu-ilmenau.de
  133.    _/  _/        _/
  134.   _/    _/_/_/  _/_/_/_/
  135.  
  136.